using System;
using System.Collections.Generic;

namespace Sustainalytics.ESGRatings.BusinessLogic.Computing
{
    public class CompanyFilter : ICompanyFilter
    {
        readonly HashSet<Guid> _matchingGuids;
        public CompanyFilter(IEnumerable<Guid> set)
        {
            _matchingGuids = new HashSet<Guid>(set);

        }
        public bool IsMatch(Guid id)
        {
            return _matchingGuids.Contains(id);
        }
    }


    public class GroupFilter : IGroupFilter
    {
        private HashSet<Guid> _matchingCompanyIds;

        public GroupFilter(HashSet<int> machingGroupIds)
        {
        }

        public bool IsMatch(int id)
        {
           return  true;
        }
    }
}
